/**   
 * �ļ���Post.java</br>
 * ������ </br>
 * ������Ա�����Ʋ� </br>
 * ����ʱ�䣺 2016-4-17
 */ 

package com.post.bean;

import java.io.Serializable;

import com.base.util.AbstractEntity;

/**
 * 类名: Post</br> 
 * 包名：com.post.bean </br>
 * 描述: 帖子类</br>
 * 发布版本号：</br>
 * 开发人员： 汪浩博</br>
 * 创建时间： 2016-5-5
 */

public class Post extends AbstractEntity implements Serializable,Cloneable{
	private static final long serialVersionUID = 631645358536437877L;
	private String id;			//帖子id
	private String topicId;		//主题id
	private String postTime;	//发帖时间
	private String title;		//标题
	private String content;		//内容
	private String userId;		//用户id
	private String postStatus;	//帖子状态  未审核0 未通过审核 1 ，通过审核 2 ，加精 3
	private String provinces;	//所属省份
	private String area;		//所属地区
	private Integer viewNumber;	//查看数
	private Integer replyNumber;//回复数
	private String lastreplytime;//最近回复时间
	public Post() {
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTopicId() {
		return topicId;
	}

	public void setTopicId(String topicId) {
		this.topicId = topicId;
	}

	public String getPostTime() {
		return postTime;
	}

	public void setPostTime(String postTime) {
		this.postTime = postTime;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getPostStatus() {
		return postStatus;
	}

	public void setPostStatus(String postStatus) {
		this.postStatus = postStatus;
	}

	public String getProvinces() {
		return provinces;
	}

	public void setProvinces(String provinces) {
		this.provinces = provinces;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public Integer getViewNumber() {
		return viewNumber;
	}

	public void setViewNumber(Integer viewNumber) {
		this.viewNumber = viewNumber;
	}
	
	public Integer getReplyNumber() {
		return replyNumber;
	}

	public void setReplyNumber(Integer replyNumber) {
		this.replyNumber = replyNumber;
	}

	public String getLastreplytime() {
		return lastreplytime;
	}

	public void setLastreplytime(String lastreplytime) {
		this.lastreplytime = lastreplytime;
	}
	
	@Override
	public String toString() {
		return "Post [id=" + id + ", topicId=" + topicId + ", postTime="
				+ postTime + ", title=" + title + ", content=" + content
				+ ", userId=" + userId + ", postStatus=" + postStatus
				+ ", provinces=" + provinces + ", area=" + area
				+ ", viewNumber=" + viewNumber + ", lastreplytime="
				+ lastreplytime + "]";
	}
	
}
